/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface RegionDAO {
	public Region loadRegionByORMID(String re_numeroregion) throws PersistentException;
	public Region getRegionByORMID(String re_numeroregion) throws PersistentException;
	public Region loadRegionByORMID(String re_numeroregion, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region getRegionByORMID(String re_numeroregion, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region loadRegionByORMID(PersistentSession session, String re_numeroregion) throws PersistentException;
	public Region getRegionByORMID(PersistentSession session, String re_numeroregion) throws PersistentException;
	public Region loadRegionByORMID(PersistentSession session, String re_numeroregion, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region getRegionByORMID(PersistentSession session, String re_numeroregion, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region[] listRegionByQuery(String condition, String orderBy) throws PersistentException;
	public Region[] listRegionByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region[] listRegionByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Region[] listRegionByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region loadRegionByQuery(String condition, String orderBy) throws PersistentException;
	public Region loadRegionByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region loadRegionByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Region loadRegionByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Region createRegion();
	public boolean save(orm.Region region) throws PersistentException;
	public boolean delete(orm.Region region) throws PersistentException;
	public boolean deleteAndDissociate(orm.Region region) throws PersistentException;
	public boolean deleteAndDissociate(orm.Region region, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Region region) throws PersistentException;
	public boolean evict(orm.Region region) throws PersistentException;
	public Region loadRegionByCriteria(RegionCriteria regionCriteria);
	public Region[] listRegionByCriteria(RegionCriteria regionCriteria);
}
